export namespace="miontor-system"
export app_name="sentry" # change the release name according to your scenario
export repo="sentry"
export helm="$repo/$app_name"
export url="https://sentry-kubernetes.github.io/charts"

# helm repo remove $repo
helm repo add $repo $url
helm repo update $repo

helm upgrade --install -n $namespace --create-namespace $app_name $helm \
    -f my-value.yaml

# 外装数据库
# helm install postgresql -n sentry -f my-value.yaml bitnami/postgresql

# global:
#   postgresql:
#     postgresqlDatabase: "sentry"
#     postgresqlUsername: "postgres"
#     existingSecret: ""
#     postgresqlPassword: "postgres"
#     servicePort: ""
#     replicationPassword: ""
